//改为文件用于管理应用中所有路由规则
import {lazy} from 'react'

const Login = lazy(()=>import('../pages/Login'))
const Center = lazy(()=>import('../pages/Center'))

//eslint-disable-next-line
export default [
	{
		path:'/login',
		component:Login
	},
	{
		path:'/center',
		component:Center
	}
]